package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 个股最新分时行情数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockRtDetailDomain {
    private Long tradeAmt;//最新交易量
    private BigDecimal preClosePrice;//前收盘价格
    private BigDecimal lowPrice;//最低价
    private BigDecimal highPrice;//最高价
    private BigDecimal openPrice;//开盘价
    private Long tradeVol;//交易金额
    private BigDecimal tradePrice;//当前价格
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date curDate;//当前日期
}
